JavaScript Tutorial
JavaScript is the most powerful and versatile web programming language. It is used for making the websites interactive. JavaScript helps us add features like animations, interactive forms and dynamic content to web pages....
read more
How to pass data from child component to its parent in ReactJS ?
In ReactJS, data flow between components is typically unidirectional, meaning data is passed from parent components to child components. However, there are scenarios where you may need to pass data from a child component back to its parent component....
read more
How to set fixed width for <td> in a table ?
The requirement of a table is very normal in the process of designing a web page. HTML provides the <table> tag to construct the table and to define rows and columns <tr> and <td> tags respectively are used....
read more
ReactJS Functional Components
Functional Component is one way to create components in a React Application. React.js Functional Components helps to create UI components in a Functional and more concise way. In this article, we will learn about functional components in React, different ways to call the functional component, and also learn how to create the functional components. We will also demonstrate the use of hooks in functional components...
read more
Node JS fs.writeFile() Method
fs.writeFile() method is used to asynchronously write the specified data to a file. By default, the file would be replaced if it exists. The ‘options’ parameter can be used to modify the functionality of the method....
read more
What is web socket and how it is different from the HTTP?
HTTP and WebSocket both are communication protocols used in client-server communication....
read more
HTML <div> align Attribute
The HTML div align Attribute is used to specify the alignment of the <div> element or the content present inside the div Element. The align attribute in the <div> element specifies the horizontal alignment of its content....
read more
Angular CLI | Angular Project Setup
Angular is the most popular front-end framework for building dynamic web applications. It uses typescript by default for creating logics and methods for a class but the browser doesn’t know typescript....
read more
Check if an array is empty or not in JavaScript
For doing any operation on the array it is important to have elements in an array. we can check the presence of elements in an array by calculating the length of that array, also there are many other ways to check whether the array is empty or not....
read more
How to add link to HTML button?
Adding links to HTML buttons is essential for creating interactive web interfaces. In this article, we’ll explore various methods, including inline events, form attributes, and CSS styling, along with practical examples and code snippets....
read more
How to make flexbox children 100% height of their parent using CSS?
CSS Flexbox is a powerful tool that makes creating responsive layouts easy. It allows you to distribute available space among child elements in an efficient way....
read more
Comparing two dates in PHP
Given two dates (date1 and date2) and the task is to compare the given dates. Comparing two dates in PHP is simple when both the dates are in the same format but the problem arises when both dates are in a different format....
read more